import hashlib

class regiest_enter_is_TrueorFalse:
    def __init__(self,entername,enterpassword):
        self.entername = entername
        self.enterpassword = enterpassword

    def ising_entername(self):
        md5 = hashlib.md5()
        md5.update(self.entername.encode('utf8'))
        md5_entername = md5.hexdigest()
        return md5_entername

    def ising_enterword(self):
        md5 = hashlib.md5()
        md5.update(self.enterpassword.encode('utf8'))
        md5_enterword = md5.hexdigest()
        return md5_enterword

